import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.SortedMap;
import java.util.TreeMap;

public class Main {
    public static HashMap<String, String> a = new HashMap<String, String>();

    public static Map<String, String> addParams(Map<String, String> params, String key, String value) {
        StringBuilder sb = new StringBuilder();
        sb.append(key).append("=");
        try {
            sb.append(URLEncoder.encode(value, "UTF-8"));
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
        params.put(key, sb.toString());
        return params;
    }

    public static void main(String args[]) {
    	HttpUnit.Https.request();

    }

}
